package com.xquant.pricing.pricingConfig.mapper;

import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @author ershuai.zhao
 */
@Repository
public interface OptionContractMapper {
    List<Map<String, Object>> queryContractCfg(Map map);

    void insertContractCfg(Map map);

    void updateContractCfg(Map map);

    void deleteContractCfg(Map map);

    void deleteContractCfgById(Map map);

    List<Map<String, Object>> findContractCfgById(Map<String, Object> params);

    int queryContractCfgCountByCfgId(String cfgId);

    HashMap queryTircurveDaycounter(Map<String, Object> params);
    HashMap queryTdivyieldDaycounter(Map<String, Object> params);
    HashMap queryTvolsurfaceDaycounter(Map<String, Object> params);

}
